import {BasicColumn} from '/@/components/Table';
import {FormSchema} from '/@/components/Table';
import {h} from 'vue';
import {Switch} from 'ant-design-vue';

export const columns: BasicColumn[] = [
        {
            title: '用户ID',
            dataIndex: 'userId',
            width: 200,
        },
        {
            title: '角色ID',
            dataIndex: 'roleId',
            width: 200,
        },
];

export const searchFormSchema: FormSchema[] = [
];

export const formSchema: FormSchema[] = [
        {
            label: '用户ID',
            field: 'userId',
            component: 'Input',
            required: true,
        },
        {
            label: '角色ID',
            field: 'roleId',
            component: 'Input',
            required: true,
        },
];
